import greenfoot.*;  // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.awt.Color;
/**
 * Write a description of class Mensaje here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Mensaje extends Actor
{
      private String mensaje;
       private static final Color transparent = new Color(0,0,0,0);
   
    public Mensaje(String m,int tam)
    {
        mensaje = m;
        GreenfootImage letrero;
        letrero = new GreenfootImage( mensaje , tam, java.awt.Color.black,transparent);
        setImage( letrero );
    }
   
    /**
     * Act - do whatever the Mensaje wants to do. This method is called whenever
     * the 'Act' or 'Run' button gets pressed in the environment.
     */
    public void act()
    {
        // Add your action code here.
    }    
}
